home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d12
/
jaz_clib.arc
/
JZCLSFIL.C
< prev
next >
Wrap
Text File
|
1989-04-09
|
687b
|
21 lines
/*
┌────────────────────────────────────────────────────────────────────────────┐
│jzclsfil.c │
│Close a file, given it's "handle". │
│ │
│ (C) JazSoft Software by Jack A. Zucker (301) 794-5950 │
└────────────────────────────────────────────────────────────────────────────┘
*/
jzclsfil(fhandle)
int fhandle;
{
union REGS sreg,dreg;
sreg.x.bx = fhandle;
sreg.h.ah = 0x3e;
intdos(&sreg,&dreg);
if (dreg.x.cflag & 1 == 1) return(-1);
else return(0);
}